package com.hand.app.service;

import com.hand.api.controller.v1.dto.SoHeaderDTO;
import com.hand.api.controller.v1.dto.SoHeaderRequestParam;
import com.hand.domain.entity.SoHeader;
import com.hand.domain.entityvo.SoOrderVo;
import io.choerodon.core.domain.Page;
import io.choerodon.mybatis.pagehelper.domain.PageRequest;


/**
 * 业务表应用服务
 *
 * @author biaozhi.mei@hand-china.com 2020-07-27 14:35:59
 */
public interface SoHeaderService {

    /**
     * 订单汇总查询API
     * @param pageRequest
     * @param requestParam
     * @return
     */
    Page<SoHeaderDTO> queryOrderForAll(PageRequest pageRequest, SoHeaderRequestParam requestParam);

    /**
     * 订单删除API
     * @param soHeader
     */
    void deleteOrderHeader(SoHeader soHeader);

    /**
     * 订单保存API
     * @param soOrderVo
     */
    void saveOrder(SoOrderVo soOrderVo);

}
